home *** CD-ROM | disk | FTP | other *** search
/ Freelog 70 / Freelog070.iso / Internet / EasyPHP / easyphp1-8_setup.exe / {app} / safe / httpd-safe.conf < prev    next >
Encoding:
Text File  |  2005-02-22  |  37.4 KB  |  1,082 lines

  1. #------------------------ IMPORTANT ! ----------------------
  2. # This file is GENERATED by EasyPHP when needed so edit the
  3. # file c:\tmpeasy\conf_files\httpd.conf if you want to do
  4. # modifications in this file
  5. #-----------------------------------------------------------
  6.  
  7.  
  8. # IMPORTANT
  9. # c:/tmpeasy is used to specify EasyPHP installation path
  10.  
  11. #
  12. # Based upon the NCSA server configuration files originally by Rob McCool.
  13. #
  14. # This is the main Apache server configuration file.  It contains the
  15. # configuration directives that give the server its instructions.
  16. # See <URL:http://www.apache.org/docs/> for detailed information about
  17. # the directives.
  18. #
  19. # Do NOT simply read the instructions in here without understanding
  20. # what they do.  They're here only as hints or reminders.  If you are unsure
  21. # consult the online docs. You have been warned.  
  22. #
  23. # After this file is processed, the server will look for and process
  24. # srm.conf and then access.conf
  25. # unless you have overridden these with ResourceConfig and/or
  26. # AccessConfig directives here.
  27. #
  28. # The configuration directives are grouped into three basic sections:
  29. #  1. Directives that control the operation of the Apache server process as a
  30. #     whole (the 'global environment').
  31. #  2. Directives that define the parameters of the 'main' or 'default' server,
  32. #     which responds to requests that aren't handled by a virtual host.
  33. #     These directives also provide default values for the settings
  34. #     of all virtual hosts.
  35. #  3. Settings for virtual hosts, which allow Web requests to be sent to
  36. #     different IP addresses or hostnames and have them handled by the
  37. #     same Apache server process.
  38. #
  39. # Configuration and logfile names: If the filenames you specify for many
  40. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  41. # server will use that explicit path.  If the filenames do *not* begin
  42. # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
  43. # with ServerRoot set to "/usr/local/apache" will be interpreted by the
  44. # server as "/usr/local/apache/logs/foo.log".
  45. #
  46. # NOTE: Where filenames are specified, you must use forward slashes
  47. # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
  48. # If a drive letter is omitted, the drive on which Apache.exe is located
  49. # will be used by default.  It is recommended that you always supply
  50. # an explicit drive letter in absolute paths, however, to avoid
  51. # confusion.
  52. #
  53.  
  54. ### Section 1: Global Environment
  55. #
  56. # The directives in this section affect the overall operation of Apache,
  57. # such as the number of concurrent requests it can handle or where it
  58. # can find its configuration files.
  59. #
  60.  
  61. #
  62. # ServerType is either inetd, or standalone.  Inetd mode is only supported on
  63. # Unix platforms.
  64. #
  65. ServerType standalone
  66.  
  67. #
  68. # ServerRoot: The top of the directory tree under which the server's
  69. # configuration, error, and log files are kept.
  70. #
  71. ServerRoot "c:/tmpeasy/apache"
  72.  
  73. #
  74. # PidFile: The file in which the server should record its process
  75. # identification number when it starts.
  76. #
  77. PidFile logs/httpd.pid
  78.  
  79. #
  80. # ScoreBoardFile: File used to store internal server process information.
  81. # Not all architectures require this.  But if yours does (you'll know because
  82. # this file will be  created when you run Apache) then you *must* ensure that
  83. # no two invocations of Apache share the same scoreboard file.
  84. #
  85. ScoreBoardFile logs/apache_runtime_status
  86.  
  87. #
  88. # In the standard configuration, the server will process httpd.conf (this 
  89. # file, specified by the -f command line option), srm.conf, and access.conf 
  90. # in that order.  The latter two files are now distributed empty, as it is 
  91. # recommended that all directives be kept in a single file for simplicity.  
  92. # The commented-out values below are the built-in defaults.  You can have the 
  93. # server ignore these files altogether by using "/dev/null" (for Unix) or
  94. # "nul" (for Win32) for the arguments to the directives.
  95. #
  96. #ResourceConfig conf/srm.conf
  97. #AccessConfig conf/access.conf
  98.  
  99. #
  100. # Timeout: The number of seconds before receives and sends time out.
  101. #
  102. Timeout 300
  103.  
  104. #
  105. # KeepAlive: Whether or not to allow persistent connections (more than
  106. # one request per connection). Set to "Off" to deactivate.
  107. #
  108. KeepAlive On
  109.  
  110. #
  111. # MaxKeepAliveRequests: The maximum number of requests to allow
  112. # during a persistent connection. Set to 0 to allow an unlimited amount.
  113. # We recommend you leave this number high, for maximum performance.
  114. #
  115. MaxKeepAliveRequests 100
  116.  
  117. #
  118. # KeepAliveTimeout: Number of seconds to wait for the next request from the
  119. # same client on the same connection.
  120. #
  121. KeepAliveTimeout 15
  122.  
  123. #
  124. # Apache on Win32 always creates one child process to handle requests.  If it
  125. # dies, another child process is created automatically.  Within the child
  126. # process multiple threads handle incoming requests.  The next two
  127. # directives control the behaviour of the threads and processes.
  128. #
  129.  
  130. #
  131. # MaxRequestsPerChild: the number of requests each child process is
  132. # allowed to process before the child dies.  The child will exit so
  133. # as to avoid problems after prolonged use when Apache (and maybe the
  134. # libraries it uses) leak memory or other resources.  On most systems, this
  135. # isn't really needed, but a few (such as Solaris) do have notable leaks
  136. # in the libraries.  For Win32, set this value to zero (unlimited)
  137. # unless advised otherwise.
  138. #
  139. # NOTE: This value does not include keepalive requests after the initial
  140. #       request per connection. For example, if a child process handles
  141. #       an initial request and 10 subsequent "keptalive" requests, it
  142. #       would only count as 1 request towards this limit.
  143. #
  144. MaxRequestsPerChild 0
  145.  
  146. #
  147. # Number of concurrent threads (i.e., requests) the server will allow.
  148. # Set this value according to the responsiveness of the server (more
  149. # requests active at once means they're all handled more slowly) and
  150. # the amount of system resources you'll allow the server to consume.
  151. #
  152. ThreadsPerChild 50
  153.  
  154. #
  155. # Listen: Allows you to bind Apache to specific IP addresses and/or
  156. # ports, in addition to the default. See also the <VirtualHost>
  157. # directive.
  158. #
  159. #Listen 3000
  160. #Listen 12.34.56.78:80
  161. Listen 127.0.0.1:80
  162.  
  163. #
  164. # BindAddress: You can support virtual hosts with this option. This directive
  165. # is used to tell the server which IP address to listen to. It can either
  166. # contain "*", an IP address, or a fully qualified Internet domain name.
  167. # See also the <VirtualHost> and Listen directives.
  168. #
  169. #BindAddress *
  170.  
  171. #
  172. # Dynamic Shared Object (DSO) Support
  173. #
  174. # To be able to use the functionality of a module which was built as a DSO you
  175. # have to place corresponding `LoadModule' lines at this location so the
  176. # directives contained in it are actually available _before_ they are used.
  177. # Please read the file README.DSO in the Apache 1.3 distribution for more
  178. # details about the DSO mechanism and run `apache -l' for the list of already
  179. # built-in (statically linked and thus always available) modules in your Apache
  180. # binary.
  181. #
  182. # Note: The order in which modules are loaded is important.  Don't change
  183. # the order below without expert advice.
  184. #
  185. # Example:
  186. # LoadModule foo_module modules/mod_foo.so
  187. #
  188. #LoadModule vhost_alias_module modules/mod_vhost_alias.so
  189. #LoadModule mime_magic_module modules/mod_mime_magic.so
  190. #LoadModule status_module modules/mod_status.so
  191. #LoadModule info_module modules/mod_info.so
  192. #LoadModule speling_module modules/mod_speling.so
  193. #LoadModule rewrite_module modules/mod_rewrite.so
  194. LoadModule anon_auth_module modules/mod_auth_anon.so
  195. #LoadModule dbm_auth_module modules/mod_auth_dbm.so
  196. #LoadModule digest_auth_module modules/mod_auth_digest.so
  197. #LoadModule digest_module modules/mod_digest.so
  198. #LoadModule proxy_module modules/mod_proxy.so
  199. #LoadModule cern_meta_module modules/mod_cern_meta.so
  200. #LoadModule expires_module modules/mod_expires.so
  201. #LoadModule headers_module modules/mod_headers.so
  202. #LoadModule usertrack_module modules/mod_usertrack.so
  203. #LoadModule unique_id_module modules/mod_unique_id.so
  204.  
  205. LoadModule php4_module "c:/tmpeasy/php/php4apache.dll"
  206.  
  207. #
  208. #  Reconstruction of the complete module list from all available modules
  209. #  (static and shared ones) to achieve correct module execution order.
  210. #
  211. # The modules listed below, without a corresponding LoadModule directive,
  212. # are static bound into the standard Apache binary distribution for Windows.
  213. #
  214. # Note: The order in which modules are loaded is important.  Don't change
  215. # the order below without expert advice.
  216. #
  217. # [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE, UPDATE THIS TOO!]
  218. ClearModuleList
  219. #AddModule mod_vhost_alias.c
  220. AddModule mod_env.c
  221. AddModule mod_log_config.c
  222. #AddModule mod_mime_magic.c
  223. AddModule mod_mime.c
  224. AddModule mod_negotiation.c
  225. #AddModule mod_status.c
  226. #AddModule mod_info.c
  227. AddModule mod_include.c
  228. AddModule mod_autoindex.c
  229. AddModule mod_dir.c
  230. AddModule mod_isapi.c
  231. AddModule mod_cgi.c
  232. AddModule mod_asis.c
  233. AddModule mod_imap.c
  234. AddModule mod_actions.c
  235. #AddModule mod_speling.c
  236. AddModule mod_userdir.c
  237. AddModule mod_alias.c
  238. #AddModule mod_rewrite.c
  239. AddModule mod_access.c
  240. AddModule mod_auth.c
  241. AddModule mod_auth_anon.c
  242. #AddModule mod_auth_dbm.c
  243. #AddModule mod_auth_digest.c
  244. #AddModule mod_digest.c
  245. #AddModule mod_proxy.c
  246. #AddModule mod_cern_meta.c
  247. #AddModule mod_expires.c
  248. #AddModule mod_headers.c
  249. #AddModule mod_usertrack.c
  250. #AddModule mod_unique_id.c
  251. AddModule mod_so.c
  252. AddModule mod_setenvif.c
  253. AddModule mod_php4.c
  254.  
  255. #
  256. # ExtendedStatus controls whether Apache will generate "full" status
  257. # information (ExtendedStatus On) or just basic information (ExtendedStatus
  258. # Off) when the "server-status" handler is called. The default is Off.
  259. #
  260. #ExtendedStatus On
  261.  
  262. ### Section 2: 'Main' server configuration
  263. #
  264. # The directives in this section set up the values used by the 'main'
  265. # server, which responds to any requests that aren't handled by a
  266. # <VirtualHost> definition.  These values also provide defaults for
  267. # any <VirtualHost> containers you may define later in the file.
  268. #
  269. # All of these directives may appear inside <VirtualHost> containers,
  270. # in which case these default settings will be overridden for the
  271. # virtual host being defined.
  272. #
  273.  
  274. #
  275. # Port: The port to which the standalone server listens.  Certain firewall
  276. # products must be configured before Apache can listen to a specific port.
  277. # Other running httpd servers will also interfere with this port.  Disable
  278. # all firewall, security, and other services if you encounter problems.
  279. # To help diagnose problems use the Windows NT command NETSTAT -a
  280. #
  281. Port 80
  282.  
  283. #
  284. # ServerAdmin: Your address, where problems with the server should be
  285. # e-mailed.  This address appears on some server-generated pages, such
  286. # as error documents.
  287. #
  288. ServerAdmin admin@localhost
  289.  
  290. #
  291. # ServerName allows you to set a host name which is sent back to clients for
  292. # your server if it's different than the one the program would get (i.e., use
  293. # "www" instead of the host's real name).
  294. #
  295. # Note: You cannot just invent host names and hope they work. The name you 
  296. # define here must be a valid DNS name for your host. If you don't understand
  297. # this, ask your network administrator.
  298. # If your host doesn't have a registered DNS name, enter its IP address here.
  299. # You will have to access it by its address (e.g., http://123.45.67.89/)
  300. # anyway, and this will make redirections work in a sensible way.
  301. #
  302. # 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your 
  303. # machine always knows itself by this address. If you use Apache strictly for 
  304. # local testing and development, you may use 127.0.0.1 as the server name.
  305. #
  306. ServerName localhost
  307.  
  308.  
  309. #
  310. # DocumentRoot: The directory out of which you will serve your
  311. # documents. By default, all requests are taken from this directory, but
  312. # symbolic links and aliases may be used to point to other locations.
  313. #
  314. DocumentRoot "c:/tmpeasy/www"
  315.  
  316. #
  317. # Each directory to which Apache has access, can be configured with respect
  318. # to which services and features are allowed and/or disabled in that
  319. # directory (and its subdirectories). 
  320. #
  321. # First, we configure the "default" to be a very restrictive set of 
  322. # permissions.  
  323. #
  324. <Directory />
  325.     Options FollowSymLinks Indexes
  326.     AllowOverride All
  327. </Directory>
  328.  
  329. #
  330. # Note that from this point forward you must specifically allow
  331. # particular features to be enabled - so if something's not working as
  332. # you might expect, make sure that you have specifically enabled it
  333. # below.
  334. #
  335.  
  336. #
  337. # This should be changed to whatever you set DocumentRoot to.
  338. #
  339. <Directory "c:/tmpeasy/www">
  340.  
  341. #
  342. # This may also be "None", "All", or any combination of "Indexes",
  343. # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
  344. #
  345. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  346. # doesn't give it to you.
  347. #
  348.     Options Indexes FollowSymLinks Includes
  349.  
  350. #
  351. # This controls which options the .htaccess files in directories can
  352. # override. Can also be "All", or any combination of "Options", "FileInfo", 
  353. # "AuthConfig", and "Limit"
  354. #
  355.     AllowOverride All
  356.  
  357. #
  358. # Controls who can get stuff from this server.
  359. #
  360.     Order allow,deny
  361.     Allow from all
  362. </Directory>
  363.  
  364. #
  365. # UserDir: The name of the directory which is appended onto a user's home
  366. # directory if a ~user request is received.
  367. #
  368. # Under Win32, we do not currently try to determine the home directory of
  369. # a Windows login, so a format such as that below needs to be used.  See
  370. # the UserDir documentation for details.
  371. #
  372. <IfModule mod_userdir.c>
  373.     UserDir "c:/tmpeasy/apache/users/"
  374. </IfModule>
  375.  
  376. #
  377. # Control access to UserDir directories.  The following is an example
  378. # for a site where these directories are restricted to read-only.
  379. #
  380. #<Directory "c:/tmpeasy/apache/users">
  381. #    AllowOverride FileInfo AuthConfig Limit
  382. #    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
  383. #    <Limit GET POST OPTIONS PROPFIND>
  384. #        Order allow,deny
  385. #        Allow from all
  386. #    </Limit>
  387. #    <LimitExcept GET POST OPTIONS PROPFIND>
  388. #        Order deny,allow
  389. #        Deny from all
  390. #    </LimitExcept>
  391. #</Directory>
  392.  
  393. #
  394. # DirectoryIndex: Name of the file or files to use as a pre-written HTML
  395. # directory index.  Separate multiple entries with spaces.
  396. #
  397. <IfModule mod_dir.c>
  398.     DirectoryIndex index.html index.shtml index.wml index.pwml index.php index.php3 index.php4
  399. </IfModule>
  400.  
  401. #
  402. # AccessFileName: The name of the file to look for in each directory
  403. # for access control information.
  404. #
  405. AccessFileName .htaccess
  406.  
  407. #
  408. # The following lines prevent .htaccess files from being viewed by
  409. # Web clients.  Since .htaccess files often contain authorization
  410. # information, access is disallowed for security reasons.  Comment
  411. # these lines out if you want Web visitors to see the contents of
  412. # .htaccess files.  If you change the AccessFileName directive above,
  413. # be sure to make the corresponding changes here.
  414. #
  415. # Also, folks tend to use names such as .htpasswd for password
  416. # files, so this will protect those as well.
  417. #
  418. <Files ~ "^\.ht">
  419.     Order allow,deny
  420.     Deny from all
  421.     Satisfy All
  422. </Files>
  423.  
  424. #
  425. # CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each
  426. # document that was negotiated on the basis of content. This asks proxy
  427. # servers not to cache the document. Uncommenting the following line disables
  428. # this behavior, and proxies will be allowed to cache the documents.
  429. #
  430. #CacheNegotiatedDocs
  431.  
  432. #
  433. # UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever
  434. # Apache needs to construct a self-referencing URL (a URL that refers back
  435. # to the server the response is coming from) it will use ServerName and
  436. # Port to form a "canonical" name.  With this setting off, Apache will
  437. # use the hostname:port that the client supplied, when possible.  This
  438. # also affects SERVER_NAME and SERVER_PORT in CGI scripts.
  439. #
  440. UseCanonicalName Off
  441.  
  442. #
  443. # TypesConfig describes where the mime.types file (or equivalent) is
  444. # to be found.
  445. #
  446. <IfModule mod_mime.c>
  447.     TypesConfig conf/mime.types
  448. </IfModule>
  449.  
  450. #
  451. # DefaultType is the default MIME type the server will use for a document
  452. # if it cannot otherwise determine one, such as from filename extensions.
  453. # If your server contains mostly text or HTML documents, "text/plain" is
  454. # a good value.  If most of your content is binary, such as applications
  455. # or images, you may want to use "application/octet-stream" instead to
  456. # keep browsers from trying to display binary files as though they are
  457. # text.
  458. #
  459. DefaultType text/plain
  460.  
  461. #
  462. # The mod_mime_magic module allows the server to use various hints from the
  463. # contents of the file itself to determine its type.  The MIMEMagicFile
  464. # directive tells the module where the hint definitions are located.
  465. # mod_mime_magic is not part of the default server (you have to add
  466. # it yourself with a LoadModule [see the DSO paragraph in the 'Global
  467. # Environment' section], or recompile the server and include mod_mime_magic
  468. # as part of the configuration), so it's enclosed in an <IfModule> container.
  469. # This means that the MIMEMagicFile directive will only be processed if the
  470. # module is part of the server.
  471. #
  472. <IfModule mod_mime_magic.c>
  473.     MIMEMagicFile conf/magic
  474. </IfModule>
  475.  
  476. #
  477. # HostnameLookups: Log the names of clients or just their IP addresses
  478. # e.g., www.apache.org (on) or 204.62.129.132 (off).
  479. # The default is off because it'd be overall better for the net if people
  480. # had to knowingly turn this feature on, since enabling it means that
  481. # each client request will result in AT LEAST one lookup request to the
  482. # nameserver.
  483. #
  484. HostnameLookups Off
  485.  
  486. #
  487. # ErrorLog: The location of the error log file.
  488. # If you do not specify an ErrorLog directive within a <VirtualHost>
  489. # container, error messages relating to that virtual host will be
  490. # logged here.  If you *do* define an error logfile for a <VirtualHost>
  491. # container, that host's errors will be logged there and not here.
  492. #
  493. ErrorLog logs/error.log
  494.  
  495. #
  496. # LogLevel: Control the number of messages logged to the error.log.
  497. # Possible values include: debug, info, notice, warn, error, crit,
  498. # alert, emerg.
  499. #
  500. LogLevel warn
  501.  
  502. #
  503. # The following directives define some format nicknames for use with
  504. # a CustomLog directive (see below).
  505. #
  506. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  507. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  508. LogFormat "%{Referer}i -> %U" referer
  509. LogFormat "%{User-agent}i" agent
  510.  
  511. #
  512. # The location and format of the access logfile (Common Logfile Format).
  513. # If you do not define any access logfiles within a <VirtualHost>
  514. # container, they will be logged here.  Contrariwise, if you *do*
  515. # define per-<VirtualHost> access logfiles, transactions will be
  516. # logged therein and *not* in this file.
  517. #
  518. CustomLog logs/access.log common
  519.  
  520. #
  521. # If you would like to have agent and referer logfiles, uncomment the
  522. # following directives.
  523. #
  524. #CustomLog logs/referer.log referer
  525. #CustomLog logs/agent.log agent
  526.  
  527. #
  528. # If you prefer a single logfile with access, agent, and referer information
  529. # (Combined Logfile Format) you can use the following directive.
  530. #
  531. #CustomLog logs/access.log combined
  532.  
  533. #
  534. # Optionally add a line containing the server version and virtual host
  535. # name to server-generated pages (error documents, FTP directory listings,
  536. # mod_status and mod_info output etc., but not CGI generated documents).
  537. # Set to "EMail" to also include a mailto: link to the ServerAdmin.
  538. # Set to one of:  On | Off | EMail
  539. #
  540. ServerSignature Email
  541.  
  542. # Apache parses all CGI scripts for the shebang line by default.
  543. # This comment line, the first line of the script, consists of the symbols
  544. # pound (#) and exclamation (!) followed by the path of the program that 
  545. # can execute this specific script.  For a perl script, with perl.exe in
  546. # the C:\Program Files\Perl directory, the shebang line should be:
  547.  
  548.    #!c:/program files/perl/perl
  549.  
  550. # Note you _must_not_ indent the actual shebang line, and it must be the
  551. # first line of the file.  Of course, CGI processing must be enabled by 
  552. # the appropriate ScriptAlias or Options ExecCGI directives for the files 
  553. # or directory in question.
  554. #
  555. # However, Apache on Windows allows either the Unix behavior above, or can
  556. # use the Registry to match files by extention.  The command to execute 
  557. # a file of this type is retrieved from the registry by the same method as 
  558. # the Windows Explorer would use to handle double-clicking on a file.
  559. # These script actions can be configured from the Windows Explorer View menu, 
  560. # 'Folder Options', and reviewing the 'File Types' tab.  Clicking the Edit
  561. # button allows you to modify the Actions, of which Apache 1.3 attempts to
  562. # perform the 'Open' Action, and failing that it will try the shebang line.
  563. # This behavior is subject to change in Apache release 2.0.
  564. #
  565. # Each mechanism has it's own specific security weaknesses, from the means
  566. # to run a program you didn't intend the website owner to invoke, and the
  567. # best method is a matter of great debate.
  568. #
  569. # To enable the this Windows specific behavior (and therefore -disable- the
  570. # equivilant Unix behavior), uncomment the following directive:
  571. #
  572. #ScriptInterpreterSource registry
  573. #
  574. # The directive above can be placed in individual <Directory> blocks or the
  575. # .htaccess file, with either the 'registry' (Windows behavior) or 'script' 
  576. # (Unix behavior) option, and will override this server default option.
  577. #
  578.  
  579. #
  580. # Aliases: Add here as many aliases as you need (with no limit). The format is 
  581. # Alias fakename realname
  582. #
  583. <IfModule mod_alias.c>
  584.  
  585.     #
  586.     # Note that if you include a trailing / on fakename then the server will
  587.     # require it to be present in the URL.  So "/icons" isn't aliased in this
  588.     # example, only "/icons/".  If the fakename is slash-terminated, then the 
  589.     # realname must also be slash terminated, and if the fakename omits the 
  590.     # trailing slash, the realname must also omit it.
  591.     #
  592.     Alias /icons/ "c:/tmpeasy/apache/icons/"
  593.  
  594.     <Directory "c:/tmpeasy/apache/icons">
  595.         Options Indexes MultiViews
  596.         AllowOverride None
  597.         Order allow,deny
  598.         Allow from all
  599.     </Directory>
  600.  
  601.  
  602.     Alias /images_easyphp/ "c:/tmpeasy/home/images_easyphp/"
  603.  
  604.     <Directory "c:/tmpeasy/home/images_easyphp">
  605.         Options Indexes MultiViews
  606.         AllowOverride None
  607.         Order allow,deny
  608.         Allow from all
  609.     </Directory>
  610.  
  611.  
  612.     Alias /mysql/ "c:/tmpeasy/phpmyadmin/"
  613.  
  614.     <Directory "c:/tmpeasy/phpmyadmin">
  615.         Options FollowSymLinks Indexes
  616.         AllowOverride None
  617.         Order deny,allow
  618.         allow from 127.0.0.1
  619.         deny from all
  620.     </Directory>
  621.  
  622.  
  623.     Alias /home/ "c:/tmpeasy/home/"
  624.  
  625.     <Directory "c:/tmpeasy/home">
  626.         Options FollowSymLinks Indexes
  627.         AllowOverride None
  628.         Order deny,allow
  629.         allow from 127.0.0.1
  630.         deny from all
  631.     </Directory>
  632.  
  633.  
  634.     # This Alias will project the on-line documentation tree under /manual/
  635.     # even if you change the DocumentRoot. Comment it if you don't want to 
  636.     # provide access to the on-line documentation.
  637.     #
  638.     #Alias /manual/ "c:/tmpeasy/apache/htdocs/manual/"
  639.  
  640.     #<Directory "c:/tmpeasy/apache/htdocs/manual">
  641.     #    Options Indexes FollowSymlinks MultiViews
  642.     #    AllowOverride None
  643.     #    Order allow,deny
  644.     #    Allow from all
  645.     #</Directory>
  646.  
  647.     #
  648.     # ScriptAlias: This controls which directories contain server scripts.
  649.     # ScriptAliases are essentially the same as Aliases, except that
  650.     # documents in the realname directory are treated as applications and
  651.     # run by the server when requested rather than as documents sent to the client.
  652.     # The same rules about trailing "/" apply to ScriptAlias directives as to
  653.     # Alias.
  654.     #
  655.     ScriptAlias /cgi-bin/ "c:/tmpeasy/cgi-bin/"
  656.  
  657.     #
  658.     # "c:/tmpeasy/apache/cgi-bin" should be changed to whatever your ScriptAliased
  659.     # CGI directory exists, if you have that configured.
  660.     #
  661.     <Directory "c:/tmpeasy/cgi-bin">
  662.         AllowOverride None
  663.         Options None
  664.         Order allow,deny
  665.         Allow from all
  666.     </Directory>
  667.  
  668. </IfModule>
  669. # End of aliases.
  670.  
  671. #
  672. # Redirect allows you to tell clients about documents which used to exist in
  673. # your server's namespace, but do not anymore. This allows you to tell the
  674. # clients where to look for the relocated document.
  675. # Format: Redirect old-URI new-URL
  676. #
  677.  
  678. #
  679. # Directives controlling the display of server-generated directory listings.
  680. #
  681. <IfModule mod_autoindex.c>
  682.  
  683.     #
  684.     # FancyIndexing is whether you want fancy directory indexing or standard
  685.     #
  686.     # Note, add the option TrackModified to the IndexOptions default list only
  687.     # if all indexed directories reside on NTFS volumes.  The TrackModified flag
  688.     # will report the Last-Modified date to assist caches and proxies to properly
  689.     # track directory changes, but it does _not_ work on FAT volumes.
  690.     #
  691.     IndexOptions FancyIndexing
  692.  
  693.     #
  694.     # AddIcon* directives tell the server which icon to show for different
  695.     # files or filename extensions.  These are only displayed for
  696.     # FancyIndexed directories.
  697.     #
  698.     AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  699.  
  700.     AddIconByType (TXT,/icons/text.gif) text/*
  701.     AddIconByType (IMG,/icons/image2.gif) image/*
  702.     AddIconByType (SND,/icons/sound2.gif) audio/*
  703.     AddIconByType (VID,/icons/movie.gif) video/*
  704.  
  705.     AddIcon /icons/binary.gif .bin .exe
  706.     AddIcon /icons/binhex.gif .hqx
  707.     AddIcon /icons/tar.gif .tar
  708.     AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  709.     AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  710.     AddIcon /icons/a.gif .ps .ai .eps
  711.     AddIcon /icons/layout.gif .html .shtml .htm .pdf
  712.     AddIcon /icons/text.gif .txt
  713.     AddIcon /icons/c.gif .c
  714.     AddIcon /icons/p.gif .pl .py
  715.     AddIcon /icons/f.gif .for
  716.     AddIcon /icons/dvi.gif .dvi
  717.     AddIcon /icons/uuencoded.gif .uu
  718.     AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  719.     AddIcon /icons/tex.gif .tex
  720.     AddIcon /icons/bomb.gif core
  721.  
  722.     AddIcon /icons/back.gif ..
  723.     AddIcon /icons/hand.right.gif README
  724.     AddIcon /icons/folder.gif ^^DIRECTORY^^
  725.     AddIcon /icons/blank.gif ^^BLANKICON^^
  726.  
  727.     #
  728.     # DefaultIcon is which icon to show for files which do not have an icon
  729.     # explicitly set.
  730.     #
  731.     DefaultIcon /icons/unknown.gif
  732.  
  733.     #
  734.     # AddDescription allows you to place a short description after a file in
  735.     # server-generated indexes.  These are only displayed for FancyIndexed
  736.     # directories.
  737.     # Format: AddDescription "description" filename
  738.     #
  739.     AddDescription "GZIP compressed document" .gz
  740.     AddDescription "tar archive" .tar
  741.     AddDescription "GZIP compressed tar archive" .tgz
  742.     AddDescription "ZIP archive" .zip
  743.     AddDescription "CAB archive" .cab
  744.     AddDescription "Win32 Executable" .exe
  745.  
  746.     #
  747.     # ReadmeName is the name of the README file the server will look for by
  748.     # default, and append to directory listings.
  749.     #
  750.     # HeaderName is the name of a file which should be prepended to
  751.     # directory indexes. 
  752.     #
  753.     # If MultiViews are amongst the Options in effect, the server will
  754.     # first look for name.html and include it if found.  If name.html
  755.     # doesn't exist, the server will then look for name.txt and include
  756.     # it as plaintext if found.
  757.     #
  758.     ReadmeName README
  759.     HeaderName HEADER
  760.  
  761.     #
  762.     # IndexIgnore is a set of filenames which directory indexing should ignore
  763.     # and not include in the listing.  Shell-style wildcarding is permitted.
  764.     #
  765.     IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  766.  
  767. </IfModule>
  768. # End of indexing directives.
  769.  
  770. #
  771. # Document types.
  772. #
  773. <IfModule mod_mime.c>
  774.  
  775.     #
  776.     # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  777.     # information on the fly. Note: Not all browsers support this.
  778.     # Despite the name similarity, the following Add* directives have nothing
  779.     # to do with the FancyIndexing customization directives above.
  780.     #
  781.     AddEncoding x-compress Z
  782.     AddEncoding x-gzip gz tgz
  783.     #
  784.     # AddLanguage allows you to specify the language of a document. You can
  785.     # then use content negotiation to give a browser a file in a language
  786.     # it can understand.
  787.     #
  788.     # Note 1: The suffix does not have to be the same as the language
  789.     # keyword --- those with documents in Polish (whose net-standard
  790.     # language code is pl) may wish to use "AddLanguage pl .po" to
  791.     # avoid the ambiguity with the common suffix for perl scripts.
  792.     #
  793.     # Note 2: The example entries below illustrate that in quite
  794.     # some cases the two character 'Language' abbreviation is not
  795.     # identical to the two character 'Country' code for its country,
  796.     # E.g. 'Danmark/dk' versus 'Danish/da'.
  797.     #
  798.     # Note 3: In the case of 'ltz' we violate the RFC by using a three char
  799.     # specifier. But there is 'work in progress' to fix this and get
  800.     # the reference data for rfc1766 cleaned up.
  801.     #
  802.     # Danish (da) - Dutch (nl) - English (en) - Estonian (ee)
  803.     # French (fr) - German (de) - Greek-Modern (el)
  804.     # Italian (it) - Korean (kr) - Norwegian (no) - Norwegian Nynorsk (nn)
  805.     # Portugese (pt) - Luxembourgeois* (ltz)
  806.     # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz)
  807.     # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)
  808.     # Russian (ru)
  809.     #
  810.     AddLanguage da .dk
  811.     AddLanguage nl .nl
  812.     AddLanguage en .en
  813.     AddLanguage et .ee
  814.     AddLanguage fr .fr
  815.     AddLanguage de .de
  816.     AddLanguage el .el
  817.     AddLanguage he .he
  818.     AddCharset ISO-8859-8 .iso8859-8
  819.     AddLanguage it .it
  820.     AddLanguage ja .ja
  821.     AddCharset ISO-2022-JP .jis
  822.     AddLanguage kr .kr
  823.     AddCharset ISO-2022-KR .iso-kr
  824.     AddLanguage nn .nn
  825.     AddLanguage no .no
  826.     AddLanguage pl .po
  827.     AddCharset ISO-8859-2 .iso-pl
  828.     AddLanguage pt .pt
  829.     AddLanguage pt-br .pt-br
  830.     AddLanguage ltz .lu
  831.     AddLanguage ca .ca
  832.     AddLanguage es .es
  833.     AddLanguage sv .sv
  834.     AddLanguage cz .cz
  835.     AddLanguage ru .ru
  836.     AddLanguage tw .tw
  837.     AddLanguage zh-tw .tw
  838.     AddCharset Big5         .Big5    .big5
  839.     AddCharset WINDOWS-1251 .cp-1251
  840.     AddCharset CP866        .cp866
  841.     AddCharset ISO-8859-5   .iso-ru
  842.     AddCharset KOI8-R       .koi8-r
  843.     AddCharset UCS-2        .ucs2
  844.     AddCharset UCS-4        .ucs4
  845.     AddCharset UTF-8        .utf8
  846.  
  847.     # LanguagePriority allows you to give precedence to some languages
  848.     # in case of a tie during content negotiation.
  849.     #
  850.     # Just list the languages in decreasing order of preference. We have
  851.     # more or less alphabetized them here. You probably want to change this.
  852.     #
  853.     <IfModule mod_negotiation.c>
  854.         LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
  855.     </IfModule>
  856.  
  857.     #
  858.     # AddType allows you to tweak mime.types without actually editing it, or to
  859.     # make certain files to be certain types.
  860.     #
  861.     AddType application/x-tar .tgz
  862.     AddType image/x-icon .ico
  863.     AddType application/vnd.wap.wmlc .wmlc
  864.     AddType application/x-httpd-php .phtml .pwml .php3 .php4 .php .php2 .inc
  865.     AddType text/vnd.wap.wml .wml
  866.     AddType text/vnd.wap.wmlscript .wmls
  867.     AddType text/vnd.wap.wmlscriptc .wmlsc
  868.     AddType image/vnd.wap.wbmp .wbmp
  869.  
  870.     #
  871.     # AddHandler allows you to map certain file extensions to "handlers",
  872.     # actions unrelated to filetype. These can be either built into the server
  873.     # or added with the Action command (see below)
  874.     #
  875.     # If you want to use server side includes, or CGI outside
  876.     # ScriptAliased directories, uncomment the following lines.
  877.     #
  878.     # To use CGI scripts:
  879.     #
  880.     AddHandler cgi-script .cgi
  881.  
  882.     #
  883.     # To use server-parsed HTML files
  884.     #
  885.     AddType text/html .shtml
  886.     AddHandler server-parsed .shtml
  887.  
  888.     #
  889.     # Uncomment the following line to enable Apache's send-asis HTTP file
  890.     # feature
  891.     #
  892.     #AddHandler send-as-is asis
  893.  
  894.     #
  895.     # If you wish to use server-parsed imagemap files, use
  896.     #
  897.     #AddHandler imap-file map
  898.  
  899.     #
  900.     # To enable type maps, you might want to use
  901.     #
  902.     #AddHandler type-map var
  903.  
  904. </IfModule>
  905. # End of document types.
  906.  
  907. #
  908. # Action lets you define media types that will execute a script whenever
  909. # a matching file is called. This eliminates the need for repeated URL
  910. # pathnames for oft-used CGI file processors.
  911. # Format: Action media/type /cgi-script/location
  912. # Format: Action handler-name /cgi-script/location
  913. #
  914.  
  915. #
  916. # MetaDir: specifies the name of the directory in which Apache can find
  917. # meta information files. These files contain additional HTTP headers
  918. # to include when sending the document
  919. #
  920. #MetaDir .web
  921.  
  922. #
  923. # MetaSuffix: specifies the file name suffix for the file containing the
  924. # meta information.
  925. #
  926. #MetaSuffix .meta
  927.  
  928. #
  929. # Customizable error response (Apache style)
  930. #  these come in three flavors
  931. #
  932. #    1) plain text
  933. #ErrorDocument 500 "The server made a boo boo.
  934. #  n.b.  the single leading (") marks it as text, it does not get output
  935. #
  936. #    2) local redirects
  937. #ErrorDocument 404 /missing.html
  938. #  to redirect to local URL /missing.html
  939. #ErrorDocument 404 /cgi-bin/missing_handler.pl
  940. #  N.B.: You can redirect to a script or a document using server-side-includes.
  941. #
  942. #    3) external redirects
  943. #ErrorDocument 402 http://some.other-server.com/subscription_info.html
  944. #  N.B.: Many of the environment variables associated with the original
  945. #  request will *not* be available to such a script.
  946.  
  947. #
  948. # Customize behaviour based on the browser
  949. #
  950. <IfModule mod_setenvif.c>
  951.  
  952.     #
  953.     # The following directives modify normal HTTP response behavior.
  954.     # The first directive disables keepalive for Netscape 2.x and browsers that
  955.     # spoof it. There are known problems with these browser implementations.
  956.     # The second directive is for Microsoft Internet Explorer 4.0b2
  957.     # which has a broken HTTP/1.1 implementation and does not properly
  958.     # support keepalive when it is used on 301 or 302 (redirect) responses.
  959.     #
  960.     BrowserMatch "Mozilla/2" nokeepalive
  961.     BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  962.  
  963.     #
  964.     # The following directive disables HTTP/1.1 responses to browsers which
  965.     # are in violation of the HTTP/1.0 spec by not being able to grok a
  966.     # basic 1.1 response.
  967.     #
  968.     BrowserMatch "RealPlayer 4\.0" force-response-1.0
  969.     BrowserMatch "Java/1\.0" force-response-1.0
  970.     BrowserMatch "JDK/1\.0" force-response-1.0
  971.  
  972. </IfModule>
  973. # End of browser customization directives
  974.  
  975. #
  976. # Allow server status reports, with the URL of http://servername/server-status
  977. # Change the "localhost" to match your domain to enable.
  978. #
  979. #<Location /server-status>
  980. #    SetHandler server-status
  981. #    Order deny,allow
  982. #    Deny from all
  983. #    Allow from localhost
  984. #</Location>
  985.  
  986. #
  987. # Allow remote server configuration reports, with the URL of
  988. # http://servername/server-info (requires that mod_info.c be loaded).
  989. # Change the "localhost" to match your domain to enable.
  990. #
  991. #<Location /server-info>
  992. #    SetHandler server-info
  993. #    Order deny,allow
  994. #    Deny from all
  995. #    Allow from localhost
  996. #</Location>
  997.  
  998. #
  999. # There have been reports of people trying to abuse an old bug from pre-1.1
  1000. # days.  This bug involved a CGI script distributed as a part of Apache.
  1001. # By uncommenting these lines you can redirect these attacks to a logging 
  1002. # script on phf.apache.org.  Or, you can record them yourself, using the script
  1003. # support/phf_abuse_log.cgi.
  1004. #
  1005. #<Location /cgi-bin/phf*>
  1006. #    Deny from all
  1007. #    ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
  1008. #</Location>
  1009.  
  1010. #
  1011. # Proxy Server directives. Uncomment the following lines to
  1012. # enable the proxy server:
  1013. #
  1014. #<IfModule mod_proxy.c>
  1015. #    ProxyRequests On
  1016.  
  1017. #    <Directory proxy:*>
  1018. #        Order deny,allow
  1019. #        Deny from all
  1020. #        Allow from localhost
  1021. #    </Directory>
  1022.  
  1023.     #
  1024.     # Enable/disable the handling of HTTP/1.1 "Via:" headers.
  1025.     # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
  1026.     # Set to one of: Off | On | Full | Block
  1027.     #
  1028. #    ProxyVia On
  1029.  
  1030.     #
  1031.     # To enable the cache as well, edit and uncomment the following lines:
  1032.     # (no cacheing without CacheRoot)
  1033.     #
  1034. #    CacheRoot "C:/Program Files/Apache Group/Apache/proxy"
  1035. #    CacheSize 5
  1036. #    CacheGcInterval 4
  1037. #    CacheMaxExpire 24
  1038. #    CacheLastModifiedFactor 0.1
  1039. #    CacheDefaultExpire 1
  1040. #    NoCache a-domain.com another-domain.edu joes.garage-sale.com
  1041.  
  1042. #</IfModule>
  1043. # End of proxy directives.
  1044.  
  1045. ### Section 3: Virtual Hosts
  1046. #
  1047. # VirtualHost: If you want to maintain multiple domains/hostnames on your
  1048. # machine you can setup VirtualHost containers for them. Most configurations
  1049. # use only name-based virtual hosts so the server doesn't need to worry about
  1050. # IP addresses. This is indicated by the asterisks in the directives below.
  1051. #
  1052. # Please see the documentation at <URL:http://www.apache.org/docs/vhosts/>
  1053. # for further details before you try to setup virtual hosts.
  1054. #
  1055. # You may use the command line option '-S' to verify your virtual host
  1056. # configuration.
  1057.  
  1058. #
  1059. # Use name-based virtual hosting.
  1060. #
  1061. #NameVirtualHost *
  1062.  
  1063. #
  1064. # VirtualHost example:
  1065. # Almost any Apache directive may go into a VirtualHost container.
  1066. # The first VirtualHost section is used for requests without a known
  1067. # server name.
  1068. #
  1069. #<VirtualHost *>
  1070. #    ServerAdmin webmaster@dummy-host.example.com
  1071. #    DocumentRoot /www/docs/dummy-host.example.com
  1072. #    ServerName dummy-host.example.com
  1073. #    ErrorLog logs/dummy-host.example.com-error_log
  1074. #    CustomLog logs/dummy-host.example.com-access_log common
  1075. #</VirtualHost>
  1076.  
  1077. #alias
  1078. #alias
  1079.  
  1080.  
  1081.